﻿<%@ Page Title="" Language="C#" MasterPageFile="~/UserCP.Master" AutoEventWireup="true" CodeBehind="Decline.aspx.cs" Inherits="University.Workshop.WebApp.Decline" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        .style1
        {
            width: 135px;
        }
        .style2
        {
            width: 166px;
        }
        .style3
        {
            width: 254px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <br />
    <table style="width:100%;">
        <tr>
            <td>
                <asp:Label ID="Label7" runat="server" Text="Would You Like to make a counter Offer?"></asp:Label>
            </td>
            <td>
                <asp:Button ID="YesBtn" runat="server" Text="Yes" onclick="YesBtn_Click" />
            </td>
            <td>

                <asp:Button ID="NoBtn" runat="server" Text="No, thanks." 
                    onclick="NoBtn_Click" />

            </td>
        </tr>

    </table>
    <table style="width: 131%;">
        <tr>
            <td class="style1">
                <asp:Label ID="ProductName" runat="server" Font-Size="Large" Font-Bold="true"></asp:Label>
            </td>
            <td class="style2">
                <asp:Label ID="Label2" runat="server" Text="Price: "></asp:Label>
                <asp:Label ID="ProductPrice" runat="server" ></asp:Label>
                <asp:Label ID="Currency0" runat="server"></asp:Label>
            </td>

        </tr>
        <tr>
            <td class="style1">
                <asp:Image ID="Image1" runat="server" Height="97px" Width="114px" />
            </td>
            <td class="style2">
                <table style="width:170%;">
                    <tr>
                        <td class="style3">
                            <asp:Label ID="Label5" runat="server" Text="Offer made by: "></asp:Label>
                            <asp:Label ID="BuyerName" runat="server" ></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td class="style3">
                            <asp:Label ID="Label6" runat="server" Text="Offer Price: "></asp:Label>
                            <asp:Label ID="OfferPrice" runat="server" ></asp:Label>
                            <asp:Label ID="Currency1" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td class="style3">
                <asp:Label ID="Label4" runat="server" Text="Counter Offer:"></asp:Label>
                <asp:TextBox ID="CounterOffertbx" runat="server" Enabled="false"></asp:TextBox>
                            <asp:Label ID="Errorlb" runat="server" ForeColor="Red" Visible="false"></asp:Label>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td class="style1">
                &nbsp;</td>
            <td class="style2">
                <asp:Button ID="Submit" runat="server" Text="Submit counter offer" 
                    Enabled="false" onclick="Submit_Click" />
            </td>
        </tr>
    </table>
</asp:Content>
